package com.new2i.service.able;

import java.util.HashMap;

import com.new2i.model.EmrNeonatusEntity;

/**
 * 病历相关业务逻辑接口
 * 
 * @since 2015/09/03
 * @author 2i
 *
 */
public interface EmrService {
 
	/**
	 * 获取七牛文件上传token
	 * 
	 * @author 2i
	 * @since 2015/09/03
	 * @return
	 */
	HashMap<String, Object> getQiniuMchUptoken();
	 
	/**
	 * 创建新生儿用户病历
	 * 
	 * @author 2i
	 * @since 2015/09/03
	 * @param emr
	 * @return
	 */
	HashMap<String, Object> insertEmrNeonatus(EmrNeonatusEntity emr); 
	
	/**
	 * 修改新生儿病历
	 * 
	 * @author 2i
	 * @since 2015/09/04
	 * @param emr
	 * @return
	 */
	HashMap<String, Object> updateEmrNeonatusById(EmrNeonatusEntity emr);
	

	/**
	 * 获取某一条用户病历纪录
	 * 
	 * @author 2i
	 * @since 2015/09/05
	 * @param emr
	 * @return
	 */
	HashMap<String, Object> getEmrInfoById(EmrNeonatusEntity emr);
	
	/**
	 * 同步新生儿病历图片
	 * 
	 * @author 2i
	 * @since 2015/09/04
	 * @param emr
	 * @return
	 */
	HashMap<String, Object> syncEmrNeonatusItem(EmrNeonatusEntity emr);
}
